package com.xinqi.modules.chat.chat.group.dto.req;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * -请求对象-新增
 *
 * @author: yyzhen
 * @date: 2023/03/29
 */
@Data
public class ChatTranRecordCreateDTO implements Serializable {

    /**
     * 会话ID
     */
    @NotEmpty(message = "{chat.chat.tran.record.targetId.not.blank}")
    private String targetId;
    /**
     * 类型 1私聊  3群聊
     */
    @NotNull(message = "{chat.chat.tran.record.type.not.blank}")
    private Integer type;
}
